﻿namespace pandx.Mulan.Authorization.Users.Importing.Dto
{
    public class ImportUserDto
    {
        public string Name { get; set; }
        public string UserName { get; set; }
        public string EmailAddress { get; set; }
        public string PhoneNumber { get; set; }
        public string Password { get; set; }
        public string  GenderDisplayName { get; set; }
        public string[] AssignedRoles { get; set; }
        public string[] AssignedOrganizationUnits { get; set; }
        public string Exception { get; set; }

        public bool CanBeImported()
        {
            return string.IsNullOrEmpty(Exception);
        }
    }
}
